﻿@page "/home"

@using StudentVideo.Client.Common.Attributes;
@using StudentVideo.Client.Common.Constants;
@using StudentVideo.Client.Services;
@using StudentVideo.Client.Components.CuIcon;

@inject PageLoadingService _pageLoading;
@attribute [MenuMate("首页", 1, Icon = CuIconEnum.Home)]

<PageTitle>Home</PageTitle>

<h1>Hello, world!</h1>

Welcome to your new app.

@code
{

   private DateTime value { get; set; }


   protected override void OnAfterRender(bool firstReader)
   {
      base.OnAfterRender(firstReader);

      _pageLoading.SetStatus(false);
   }
}
